package worker

import "distributed/message"

type Worker struct{}

func (w *Worker) ReceiverTask(req message.ReptileReq, resp *message.ReptileResp) error {
	go func(r message.ReptileReq) {
		taskChan <- r
	}(req)
	resp.Status = 200
	return nil
}
